package com.zhentao.mapper;

import com.zhentao.model.common.wemedia.WmNewsMaterial;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author EWEWW
* @description 针对表【wm_news_material(自媒体图文引用素材信息表)】的数据库操作Mapper
* @createDate 2024-06-07 10:48:25
* @Entity com.zhentao.model.common.wemedia.WmNewsMaterial
*/
@Mapper
public interface WmNewsMaterialMapper extends BaseMapper<WmNewsMaterial> {
  Integer saveRelations(@Param("materialIds")List<Integer> materialIds,@Param("newsId") Integer newsId,@Param("type") Short type);
}




